<%--
  Created by IntelliJ IDEA.
  User: h'p
  Date: 2024/5/10
  Time: 16:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>会员列表</title>
    <link href="resource/css/style.css" rel="stylesheet" type="text/css"/>
    <script src="resource/js/jquery-2.1.0.min.js"></script>
    <html>


    <%--    <script>
            $(function () {
                $.ajax({
                    url:"AdminServlet",
                    type:"post",
                    data:{method:"getUser"},
                    dataType: "json",
                    success:function (data) {
                        $.each(data,function (index,user) {
                            $("table").append("<tr><td><input name=\"\" type=\"checkbox\" value=\"\" checked=\"checked\"/></td><td>" + user.uid + "</td><td>" + user.ucard + "</td><td>" + user.uname + "</td><td>" + user.sex + "</td><td>" + user.age + "</td><td>" + user.birthday + "</td><td>" + user.email + "</td><td>" + user.phone + "</td><td>" + user.address + "</td></tr>")
                        })
                    }
                })
            })

        </script>--%>

    <head>
        <title>会员列表</title>
    </head>
<body>
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">部门员工</a></li>
        <li><a href="#">查看员工</a></li>
    </ul>
</div>

<div class="rightinfo">
    <table class="tablelist">
        <tr>
            <td><input name="" type="checkbox" value="" checked="checked"/></td>
            <td>编号</td>
            <td>工号</td>
            <td>用户名</td>
            <td>性别</td>
            <td>年龄</td>
            <td>生日</td>
            <td>邮箱</td>
            <td>电话号</td>
            <td>住址</td>
        </tr>
        <c:forEach var="users" items="${users}">
            <tr>
                <td><input name="" type="checkbox" value="" checked="checked"/></td>
                <td>${users.uid}</td>
                <td>${users.ucard}</td>
                <td>${users.uname}</td>
                <td>${users.sex}</td>
                <td>${users.age}</td>
                <td>${users.birthday}</td>
                <td>${users.email}</td>
                <td>${users.phone}</td>
                <td>${users.address}</td>
            </tr>
        </c:forEach>
    </table>
</div>
</body>
</html>
